---
layout: "default"
title: "_NSEnumeratorType"
description: "Swift documentation for '_NSEnumeratorType': A shadow for the NSEnumerator class."
keywords: "_NSEnumeratorType,protocol,swift,documentation,nextObject"
root: "/v1.2"
---

<div class="intro-declaration"><code class="language-swift">protocol _NSEnumeratorType</code></div>

<div class="discussion comment">
    <p>A shadow for the <code>NSEnumerator</code> class</p>
</div>

<table class="standard">
<tr>
<th id="inheritance">Inheritance</th>
<td>
<code class="inherits">_ShadowProtocol</code>
<span class="viz"><a href="hierarchy/">View Protocol Hierarchy &rarr;</a></span>
</td>
</tr>



<tr>
<th>Import</th>
<td><code class="language-swift">import Swift</code></td>
</tr>

</table>


<h3>Initializers</h3>
<div class="declaration" id="init">
<a class="toggle-link" data-toggle="collapse" href="#comment-init">init()</a> <span class="required">Required</span><div class="comment collapse" id="comment-init"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">init()</code>

    </div></div>
</div>





<h3>Instance Methods</h3>
<div class="declaration" id="func-nextobject">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-nextobject">func nextObject()</a>
     <span class="required">Required</span>    
<div class="comment collapse" id="comment-func-nextobject"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func nextObject() -&gt; AnyObject?</code>
    
    
</div></div>
</div>


